<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<base href="__ROOT__/">
<title>{$projectname}</title>
<link href="./Public/Css/app.css" rel="stylesheet">
</head>

<body>
	<div id="app">
		<nav>
			 {$topbar}
		</nav>
		<hr style="margin: 3px 0px 0px;">
		<div style="margin: 20px 150px 0px;">
			<div>
				<a href="{$url}mb_Agent" class="router-link-active">
					<button class="func func-activate">代理商列表</button>
				</a> 
				<a href="{$url}mb_AgentSetting" class="">
					<button	class="func">代理商配置</button>
				</a>
			</div>
			<div style="margin-bottom: 5px;"></div>
			<div>
				<table style="font-size: 12px;">
				</table>
				<table border="1" width="100%" class="grid">
					<tr class="tbh">
						<th width="60" style="text-align: center;">AID</th>
						<th align="left" width="100">代理商</th>
						<th align="left" width="100">邀请码</th>
						<th align="left" width="80">登录账号</th>
						<th align="left" width="60">允许登录</th>
						<th align="left" width="60">账目显示</th>
						<th align="left" width="60">上分功能</th>
						<th align="left" width="80">剩余上分额度</th>
						<th align="left" width="150">加盟时间</th>
						<th>操作</th>
					</tr>
					{$table}
				</table>
				<button>
					<a href="{$url}mb_Agent">刷新</a>
				</button>
				<button>
					<a href="{$url}mb_AgentAdd">新增</a>
				</button>
				<br> <br>
				<div>
					<table border="1" width="100%" class="grid">
						<tr class="tbh">
							<th width="60" style="text-align: center;">NO.</th>
							<th width="80">UID</th>
							<th>账号</th>
							<th>积分</th>
							<th>注册时间</th>
							<th width="60">状态</th>
							<th>操作</th>
						</tr>
						 {$userlist}
					</table>
					<br><br>
					<!--
					<button>刷新</button> 
					<button disabled="disabled">上一页</button>
					<button disabled="disabled">下一页</button>
					<span>第1页</span> <span>总1页</span> <span>共2条</span> <br> <br>
					 -->
					 <!-- 
					<div>
						<table border="0" style="font-size: 12px;">
							<tr>
								<td align="right">日期范围：</td>
								<td><input type="text" size="12" readonly="readonly" value="{$date1}">-<input type="text" size="12" readonly="readonly" value="{$date2}"></td>
								<td>
									<a href="./index.php/Home/Manager/mb_AgentHandle?name={$name}&handle=2&scope=0">
										<button>今天</button>
									</a>
									<a href="./index.php/Home/Manager/mb_AgentHandle?name={$name}&handle=2&scope=1">
										<button>本周</button>
									</a>
									<a href="./index.php/Home/Manager/mb_AgentHandle?name={$name}&handle=2&scope=2">
										<button>本月</button>
									</a>
							</tr>
						</table>
						<table border="1" width="100%" class="grid">
							<tr class="tbh">
								<th width="60" style="text-align: center;">NO.</th>
								<th width="50">类型</th>
								<th width="70">简述</th>
								<th width="80">UID</th>
								<th width="120">账号</th>
								<th width="150">冲前积分</th>
								<th width="100">积分</th>
								<th width="150">冲后积分</th>
								<th width="140">充值时间</th>
								<th width="40">渠道</th>
								<th width="80">操作员</th>
							</tr>
							<tr align="center">
								<td></td>
								<th colspan="2" style="text-align: right; color: green;">总上分：</th>
								<th style="color: green;">0</th>
								<th colspan="2" style="text-align: right; color: blue;">总送分：</th>
								<th style="color: blue;">0</th>
								<th colspan="2" style="text-align: right; color: red;">总下分：</th>
								<th style="color: red;">0</th>
								<td></td>
							</tr>
							<tr align="center">
								<td></td>
								<th colspan="2" style="text-align: right;">总汇总：</th>
								<th>0</th>
							</tr>
						</table>
						<button>刷新</button>
						<button disabled="disabled">上一页</button>
						<button disabled="disabled">下一页</button>
						<span>第1页</span> <span>总0页</span> <span>共0条</span>
						
					</div>
				</div>
				 -->
				 {$consumehtml}
			</div>
		</div>
	</div>
</body>
</html>

